<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@ include file="../common/baseCss.jsp" %>
<title>帮助管理-添加模块</title>
</head>
<body>
<article class="page-container">
	<form action="" method="post" class="form form-horizontal" id="helpAddForm">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>名称：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" placeholder="2-8个汉字" id="name" name="rleName" >
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>吐个槽ID：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" placeholder="吐个槽ID" id="productid" name="rleProductid">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>链接：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" placeholder="URL" id="tucaourl" name="rleDesc">
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>图标：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="file" name="logoFile" id="logoFile" onchange="javascript:preview(this)">			
			</div>
			<div id="preview">
　				　<!--这个是为了将页面返回的图片展示出来的.默认隐藏-->
　				　<img style="width: 100px; height: 100px;display:none" id="imgHidden" />
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3"><span class="c-red">*</span>分类：</label>
			<div class="formControls col-xs-8 col-sm-9">
				<select style="width: 140px;" id="help_select">
				  <option value="1">运营服务</option>
				  <option value="2">产品操作</option>
				</select>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<button type="button" class="btn btn-success radius" id="admin-help-save" name="admin-help-save" >提交</button>
			</div>
		</div>
	</form>
</article>
<%@ include file="../common/baseJs.jsp" %>
<script type="text/javascript" src="manager/js/help/help_add.js"></script>
</body>
</html>